#ifndef XITEMWIDGET_H
#define XITEMWIDGET_H

#include <QWidget>
#include <QProcess>

namespace Ui {
class XItemWidget;
}

class XItemWidget : public QWidget
{
    Q_OBJECT

public:
    explicit XItemWidget(QWidget *parent = 0);
    ~XItemWidget();
	void SetAppName(QString name);
	void SetItemName(QString lname);

	QString m_appName;



private:
    Ui::XItemWidget *ui;

	QProcess* m_process;

protected:
	void mouseDoubleClickEvent(QMouseEvent *event);


signals:
	void doubleClick();

public slots:
	void startApp();
	void readOut();
	int slotfinished(int);



};

#endif // XITEMWIDGET_H
